<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voro++: config.hh File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Voro++
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">config.hh File Reference</div>  </div>
</div>
<div class="contents">

<p>Master configuration file for setting various compile-time options.  
<a href="#details">More...</a></p>

<p><a href="config_8hh_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#a692da825f7adf94704ec4bc7f8b6e388">VOROPP_VERBOSE</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#a67fdb1741ce5fa942c0bea4d8d1322cb">VOROPP_REPORT_OUT_OF_BOUNDS</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#a8de7f106cac2556a67bcc61bd364ed38">VOROPP_FILE_ERROR</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#a5dc0616f8a67ae3d1c2ba8a3dcf5612b">VOROPP_MEMORY_ERROR</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#ad8e0de9d48da06e86dd87884e4a2d47e">VOROPP_INTERNAL_ERROR</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8hh.html#af88f7ba675d82866fea2342f26203384">VOROPP_CMD_LINE_ERROR</a>&#160;&#160;&#160;4</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_vertices</b> = 256</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_vertex_order</b> = 64</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_3_vertices</b> = 256</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_n_vertices</b> = 8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_marginal</b> = 64</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_delete_size</b> = 256</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_delete2_size</b> = 256</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_wall_size</b> = 32</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_ordering_size</b> = 4096</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::init_chunk_size</b> = 256</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_vertices</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_vertex_order</b> = 2048</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_n_vertices</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_marginal</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_delete_size</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_delete2_size</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_particle_memory</b> = 16777216</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_wall_size</b> = 2048</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_ordering_size</b> = 67108864</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_chunk_size</b> = 65536</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::pre_container_chunk_size</b> = 1024</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::tolerance</b> = 1e-11</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::tolerance2</b> = 2e-11</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::tolerance_sq</b> = tolerance*tolerance</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::large_number</b> = 1e30</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::default_radius</b> = 0.5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><b>voro::max_unit_voro_shells</b> = 10</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const double&#160;</td><td class="memItemRight" valign="bottom"><b>voro::optimal_particles</b> = 5.6</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition in file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="af88f7ba675d82866fea2342f26203384"></a><!-- doxytag: member="config.hh::VOROPP_CMD_LINE_ERROR" ref="af88f7ba675d82866fea2342f26203384" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_CMD_LINE_ERROR&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Voro++ returns this status code if it could not interpret the command line arguments passed to the command line utility. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00123">123</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a8de7f106cac2556a67bcc61bd364ed38"></a><!-- doxytag: member="config.hh::VOROPP_FILE_ERROR" ref="a8de7f106cac2556a67bcc61bd364ed38" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_FILE_ERROR&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Voro++ returns this status code if there is a file-related error, such as not being able to open file. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00109">109</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ad8e0de9d48da06e86dd87884e4a2d47e"></a><!-- doxytag: member="config.hh::VOROPP_INTERNAL_ERROR" ref="ad8e0de9d48da06e86dd87884e4a2d47e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_INTERNAL_ERROR&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Voro++ returns this status code if there is any type of internal error, if it detects that representation of the Voronoi cell is inconsistent. This status code will generally indicate a bug, and the developer should be contacted. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00119">119</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a5dc0616f8a67ae3d1c2ba8a3dcf5612b"></a><!-- doxytag: member="config.hh::VOROPP_MEMORY_ERROR" ref="a5dc0616f8a67ae3d1c2ba8a3dcf5612b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_MEMORY_ERROR&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Voro++ returns this status code if there is a memory allocation error, if one of the safe memory limits is exceeded. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00113">113</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a67fdb1741ce5fa942c0bea4d8d1322cb"></a><!-- doxytag: member="config.hh::VOROPP_REPORT_OUT_OF_BOUNDS" ref="a67fdb1741ce5fa942c0bea4d8d1322cb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_REPORT_OUT_OF_BOUNDS&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>If this is set to 1, then the code reports any instances of particles being put outside of the container geometry. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00105">105</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a692da825f7adf94704ec4bc7f8b6e388"></a><!-- doxytag: member="config.hh::VOROPP_VERBOSE" ref="a692da825f7adf94704ec4bc7f8b6e388" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VOROPP_VERBOSE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Voro++ can print a number of different status and debugging messages to notify the user of special behavior, and this macro sets the amount which are displayed. At level 0, no messages are printed. At level 1, messages about unusual cases during cell construction are printed, such as when the plane routine bails out due to floating point problems. At level 2, general messages about memory expansion are printed. At level 3, technical details about memory management are printed. </p>

<p>Definition at line <a class="el" href="config_8hh_source.html#l00073">73</a> of file <a class="el" href="config_8hh_source.html">config.hh</a>.</p>

</div>
</div>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 23 2011 22:49:06 for Voro++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
